home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20030409-20031118 / 000203_fdc@columbia.edu_Tue Jul 22 13:53:21 EDT 2003.msg < prev    next >
Text File  |  2020-01-01  |  2KB  |  57 lines

  1. Article: 14438 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
  3. From: fdc@columbia.edu (Frank da Cruz)
  4. Newsgroups: comp.protocols.kermit.misc
  5. Subject: Re: Kermit hangs on AT commands
  6. Date: 22 Jul 2003 13:52:38 -0400
  7. Organization: Columbia University
  8. Lines: 40
  9. Message-ID: <bfjtl6$ds4$1@watsol.cc.columbia.edu>
  10. References: <jgdphv05ih5dgrqkpd26mh9cssbei74ekk@4ax.com>
  11. NNTP-Posting-Host: watsol.cc.columbia.edu
  12. X-Trace: newsmaster.cc.columbia.edu 1058896359 11365 128.59.39.139 (22 Jul 2003 17:52:39 GMT)
  13. X-Complaints-To: postmaster@columbia.edu
  14. NNTP-Posting-Date: 22 Jul 2003 17:52:39 GMT
  15. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14438
  16.  
  17. In article <jgdphv05ih5dgrqkpd26mh9cssbei74ekk@4ax.com>,
  18. Jochen Daum  <jochen.daum@cans.co.nz> wrote:
  19. : I would like to control a CDMA modem with AT commands and would like
  20. : to test that with kermit. The modem is connected to ttyS1 and I had it
  21. : working at least once.
  22. So this is Linux?  And the version of Kermit is...?
  23.  
  24. : I connect to the modem by typing
  25. : C-Kermit>set line /dev/ttyS3
  26. : C-Kermit>set carrier-watch off
  27. : C-Kermit>set speed 115200
  28. You should reverse the first two commands, and also add:
  29.  
  30.   set modem type none
  31.  
  32. before the "set line" command.
  33.  
  34. : When I type "c", I get connected and I can type Ctrl-\ C to get back.
  35. : As soon as I type AT something, kermit hangs and I have to kill it.
  36. : Irt worked once before, I typed ATE1 and then one of the SMS commands
  37. : and I unpowered the modem in between.
  38. :
  39. Sounds like Kermit is expected the CTS signal from the modem to be high,
  40. but it's not.  Try adding "set flow none".  Or (better) configure the
  41. modem to use RTS/CTS (hardware) flow control.
  42.  
  43. Btw, "show comm" probably would have suggested this to you, perhaps
  44. subliminally.
  45.  
  46. Once you get it working, of course you can use Kermit's SET DIAL, SET
  47. MODEM, and DIAL commands to configure the modem automatically or, if you
  48. prefer, you can also use Kermit's script language.
  49.  
  50. On the other hand, if it still doesn't work, there's a whole series of
  51. troubleshooting steps but no point reciting them yet.
  52.  
  53. - Frank
  54.